package com.example.demoone

fun main() {
    //let方法
    val str = "hello"
    str.let {
        println(it)
        println(it.length)
    }
}